package com.prezs.service;

import com.prezs.annotation.Information;
import com.prezs.pojo.entity.Person;

public class PersonService {
	
	@Information(name = "zs",age = 18,hobbies = {"编程","游戏","运动"})
	public void outPutPersonInfo(Person person) {
		String optStr = String.format("我是%s,我来自%s,今年%s岁,我喜欢%s", 
				person.getName(),person.getAddress(),person.getAge(),
				person.getHobbies());
		System.out.println(optStr);
	}
}
